﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Vision001.Models
{
    /// <summary>
    /// 测试流程原型
    /// </summary>
    public class TestMethodModel
    {
        /// <summary>
        /// 流程名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 组号
        /// </summary>
        public int Group { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        public ProcessType type { get; set; }

        /// <summary>
        /// 执行顺序
        /// </summary>
        public int ExecutionSequence { get; set; }

        /// <summary>
        /// 执行失败是否结束
        /// </summary>
        public string IfFalseContinue { get; set; }

        /// <summary>
        /// 是否执行
        /// </summary>
        public string IsRun { get; set; }

        /// <summary>
        /// 条件
        /// </summary>
        public string TestCondition { get; set; }

        /// <summary>
        /// 测试配置
        /// </summary>
        public string TestConfig { get; set; }

        /// <summary>
        /// 目标流程
        /// </summary>
        public string TargetProcess { get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public string ReturnSign { get; set; }

        /// <summary>
        /// 比较符
        /// </summary>
        public string ComparisonSign { get; set; }

        /// <summary>
        /// 参数1
        /// </summary>
        public object item1 { get; set; }

        /// <summary>
        ///参数2
        /// </summary>
        public object item2 { get; set; }

        /// <summary>
        /// 参数3
        /// </summary>
        public object item3 { get; set; }

        /// <summary>
        /// 参数4
        /// </summary>
        public object item4 { get; set; }

        /// <summary>
        /// 参数5
        /// </summary>
        public object item5 { get; set; }

        /// <summary>
        /// 参数6
        /// </summary>
        public object item6 { get; set; }

        /// <summary>
        /// 参数7
        /// </summary>
        public object item7 { get; set; }

        /// <summary>
        /// 参数8
        /// </summary>
        public object item8 { get; set; }

        /// <summary>
        /// 参数9
        /// </summary>
        public object item9 { get; set; }

        /// <summary>
        /// 参数10
        /// </summary>
        public object item10 { get; set; }

        /// <summary>
        /// 参数11
        /// </summary>
        public object item11 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item12 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item13 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item14 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item15 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item16 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item17 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item18 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item19 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item20 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item21 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item22 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item23 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item24 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item25 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item26 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item27 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item28 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item29 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item30 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item31 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item32 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item33 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item34 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item35 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item36 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item37 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item38 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item39 { get; set; }

        /// <summary>
        /// 参数12
        /// </summary>
        public object item40 { get; set; }
    }

    /// <summary>
    /// 测试类型
    /// </summary>
    public enum ProcessType
    {
        设置方法,
        读取方法
    }

    /// <summary>
    /// 条件
    /// </summary>
    public enum ProcessCondition
    {
        前置,
        后置
    }

    public class TestConfig
    {
        public string name;
        public int value;
    }
}